#include <stdio.h>
#include <stdlib.h>

#include "../data_libs/data_io.h"
#include "data_process.h"
int main() {
  double *data = NULL;
  int n = 0;
  // Don`t forget to allocate memory !
  scanf("%d", &n);

  data = (double *)malloc(n * sizeof(double));

  input(data, n);

  if (normalization(data, n)) {
    output(data, n);
  } else {
    printf("ERROR");
  }
  free(data);

  return 0;
}
